﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using WebDauGia.Domain.Entities;
using WebDauGia.Domain.Models;
namespace WebDauGia.Domain.Abstract
{
    public interface WebRepository
    {
        IQueryable<SanPham> SanPhams { get; }
        void SaveSanPham(SanPham sp);
        SanPham DeleteSanPham(int id);
        IQueryable<LoaiSanPham> LoaiSanPhams { get; }
        void SaveLoaiSP(LoaiSanPham loaisp);
        LoaiSanPham DeleteLoaiSP(int id);
        IQueryable<DanhMucSanPham> DanhMucSanPhams { get; }
        void SaveDMSP(DanhMucSanPham dmsp);
        DanhMucSanPham DeleteDMSP(int id);
        IQueryable<NhanVien> NhanViens { get; }
       // IQueryable<KhachHang> KhachHangs { get; }
    }
}
